export default {
  title: 'Pinia 教程',
  description: '详细的Pinia学习指南',
  lang: 'zh-CN',
  themeConfig: {
    nav: [
      { text: '首页', link: '/' },
      { text: '教程指南', link: '/guide/' }
    ],
    sidebar: {
      '/guide/': [
        {
          text: '基础',
          items: [
            { text: '认识 Pinia', link: '/guide/introduction' }
          ]
        },
        {
          text: '选项式API',
          items: [
            { text: '定义 Store (选项式)', link: '/guide/define-store-options' },
            { text: 'State (选项式)', link: '/guide/state-options' },
            { text: 'Getters (选项式)', link: '/guide/getters-options' },
            { text: 'Actions (选项式)', link: '/guide/actions-options' }
          ]
        },
        {
          text: '组合式API',
          items: [
            { text: '定义 Store (组合式)', link: '/guide/define-store-composition' },
            { text: 'State (组合式)', link: '/guide/state-composition' },
            { text: 'Getters (组合式)', link: '/guide/getters-composition' },
            { text: 'Actions (组合式)', link: '/guide/actions-composition' }
          ]
        },
        {
          text: '进阶应用',
          items: [
            { text: '与Axios结合 (选项式)', link: '/guide/axios-options' },
            { text: '综合案例 - 天气预报应用', link: '/guide/weather-app' }
          ]
        }
      ]
    },
    socialLinks: [
      { icon: 'github', link: 'https://github.com/vuejs/pinia' }
    ],
    footer: {
      message: 'Released under the MIT License.',
      copyright: 'Copyright © 2022-present Mobile2025'
    }
  }
} 